package com.hmdp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("ticket_table")
public class TicketInfo implements Serializable {
    @TableId(value = "TicketID")
    private Long ticketId;

    @TableField(value = "OrderID")
    private Long orderId;

    @TableField(value = "EventID")
    private Long eventId;

    @TableField(value = "SeatNumber")
    private String seatNumber;

    @TableField(value = "TicketType")
    private String ticketType;

    @TableField(value = "Status")
    private String status;

    @TableField(value = "UserID")
    private Long userId;

    @TableField(value = "PurchaseTime")
    private LocalDateTime purchaseTime;

    @TableField(value = "BeginTime")
    private LocalDateTime beginTime;

    @TableField(value = "EndTime")
    private LocalDateTime endTime;
}
